{{!
# Copyright (C) 2015 - present Instructure, Inc.
#
# This file is part of Canvas.
#
# Canvas is free software: you can redistribute it and/or modify it under
# the terms of the GNU Affero General Public License as published by the Free
# Software Foundation, version 3 of the License.
#
# Canvas is distributed in the hope that it will be useful, but WITHOUT ANY
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
# A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
# details.
#
# You should have received a copy of the GNU Affero General Public License along
# with this program. If not, see <http://www.gnu.org/licenses/>.
}}


  <header id="header" class="ic-app-header no-print"> 
      <div role="region" class="ic-app-header__main-navigation" aria-label="{{#t}}Global Navigation{{/t}}">
        <ul id="menu" class="ic-app-header__menu-list">
	  {{#current_user}}
            <li class="menu-item ic-app-header__menu-list-item">
              <a id="global_nav_profile_link" href="/profile" class="ic-app-header__menu-list-link">
                <div class="menu-item-icon-container" aria-hidden="true">
                  <div class="ic-avatar"> 
                    <img src="{{avatar}}" alt="{{short_name}}" />
                  </div>
                </div>
                <div class="menu-item__text">
                  {{#t}}Account{{/t}}
                </div>
              </a>
            </li>
	  {{/current_user}}
	  {{^current_user}}
            <li class="menu-item ic-app-header__menu-list-item">
              <a id="global_nav_login_link" href="/login" class="ic-app-header__menu-list-link">
                <div class="menu-item-icon-container" aria-hidden="true">
		  {{> views/shared/svg/svg_login_new_styles.svg}}
                </div>
                <div class="menu-item__text">
                  {{#t}}Login{{/t}}
                </div>
              </a>
            </li>
          {{/current_user}}
          <li class="ic-app-header__menu-list-item">
            <a id="global_nav_dashboard_link" href="/dashboard" class="ic-app-header__menu-list-link">
              <div class="menu-item-icon-container" aria-hidden="true">
                  {{#svg_icon}}:dashboard{{/svg_icon}}
              </div>
              <div class="menu-item__text">{{#t}}Dashboard{{/t}}</div>
            </a>
          </li>
          <li class="menu-item ic-app-header__menu-list-item"> 
            <a id="global_nav_conversations_link" href="/conversations" class="ic-app-header__menu-list-link">
              <div class="menu-item-icon-container" aria-hidden="true">
                {{#svg_icon}}:inbox{{/svg_icon}}
                <span class="menu-item__badge" style="display: none">0</span>
              </div>
              <div class="menu-item__text">
                {{#t}}Inbox{{/t}}
              </div>
            </a>
          </li>
        </ul>
      </div>
    <div id="global_nav_tray_container"></div>
  </header>
